home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Resource for Source: C/C++
/
Resource for Source - C-C++.iso
/
misc_src
/
owlbwcc
/
bwcimmed.rc
< prev
next >
Wrap
Text File
|
1995-11-01
|
2KB
|
48 lines
/*****************************************************************/
/* BWCIMMED.RC defines a simple Borland Windows Custom Control */
/* Dialog Box that can be used as the main window. */
/* Notice the CLASS "BORDLG" to activate the metalic background */
/* Also notice the special "Borshade" Control. */
/*****************************************************************/
#include "windows.h"
#include "bwcc.h"
#include "BWCIMMED.H" // used for equates for check box buttons
MAINWINDOWDIALOG DIALOG 22, 10, 176, 160
CAPTION "Borland Check Boxes"
CLASS "BORDLG"
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX
BEGIN
CONTROL " Immediate On / Off", 103, "BorShade", BSS_GROUP | WS_CHILD | WS_VISIBLE | WS_GROUP, 36, 72, 102, 36
CONTROL "Radar Unit 12", IDB_RADAR12, "BorCheck", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 42, 84, 90, 10
CONTROL "Confabulator 12", IDB_CONFABULATOR12, "BorCheck", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 42, 96, 90, 10
CONTROL " Not Implemented", 103, "BorShade", BSS_GROUP | WS_CHILD | WS_VISIBLE | WS_GROUP, 36, 120, 102, 36
CONTROL "Radar Unit 13", 140, "BorCheck", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 42, 132, 90, 10
CONTROL "Confabulator 13", 150, "BorCheck", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 42, 144, 90, 10
CONTROL "", 102, "BorShade", 2 | WS_CHILD | WS_VISIBLE, 336, 210, 114, 1
CONTROL "", 101, "BorShade", BSS_GROUP | WS_CHILD | WS_VISIBLE, 6, 6, 162, 54
CTEXT "Immediate activation from a check box toggle", -1, 12, 12, 150, 12, WS_CHILD | WS_VISIBLE | WS_GROUP
CTEXT "Is handled like a regular button with DDVT", -1, 12, 24, 150, 12, WS_CHILD | WS_VISIBLE | WS_GROUP
CTEXT "And BM_GETCHECK to return the ON/OFF", -1, 12, 36, 150, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
CTEXT "Status of the Checkbox ", -1, 12, 46, 150, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
CONTROL "", 104, "BorShade", 2 | WS_CHILD | WS_VISIBLE, 1, 66, 174, 3
CONTROL "", 105, "BorShade", 2 | WS_CHILD | WS_VISIBLE, 1, 113, 174, 1
END